package com.scs.application.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 基础属性变更明细表
 * </p>
 */
@Data
@Accessors(chain = true)
@TableName("base_change_item")
public class ChangeItem extends DataEntity {
    @EntityFieldAnnotation(
            text = "",
            length = "30",
            not_null = true,
            default_value = "",
            comment = "changeId"
    )
    private String changeId;


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "影响表",
            length = "100.0",
            not_null = false,
            default_value = "",
            comment = "影响表"
    )
    private String affectTable;
    @EntityFieldAnnotation(
            text = "影响表描述",
            length = "100.0",
            not_null = false,
            default_value = "",
            comment = "影响表"
    )
    private String affectTableText;

    @EntityFieldAnnotation(
            text = "影响表的主键",
            length = "100.0",
            not_null = false,
            default_value = "",
            comment = "影响表的主键"
    )
    private String affectId;

    @EntityFieldAnnotation(
            text = "sn",
            length = "30",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String sn;

    @EntityFieldAnnotation(
            text = "",
            length = "30",
            not_null = false,
            default_value = "",
            comment = "rfid"
    )
    private String rfid;



    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

}
